package com.watchme.parser;

import com.watchme.parser.utils.PdfParserUtil;

/**
 * Created by wangqiang on 2017/10/25.
 */
public class PdfReader {

    public static String parser(String pdfPath, String imgPath) {
        boolean flag = PdfParserUtil.getInstance().parser(pdfPath, imgPath);

        return flag ? "解析成功" : "解析失败";
    }

    public static void main(String[] args) {
        String pdfPath = "D://aa.pdf";
        String imgPath = "D://outimg";
        parser(pdfPath, imgPath);

    }

}
